package com.aric.springbootmusic.entity.pojo;


import com.aric.springbootmusic.entity.pojo.BaseClass;
import com.aric.springbootmusic.enums.SongType;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor

@TableName(value="music")
public class Music extends BaseClass {
    @TableId(type= IdType.ASSIGN_ID)
    private String id;
    //歌曲名
    @TableField(value = "songName")
    private String songName;
    //歌曲地址
    @TableField(value = "songAddress")
    private String songAddress;
    //歌曲物理存储地址
    @TableField(value = "songRealAddress")
    private String songRealAddress;
    //歌手
    private String singer;
    //歌词
    private String lyric;
    //图片地址
    @TableField(value = "picAddress")
    private String picAddress;

    //图片物理存储地址
    @TableField(value = "picRealAddress")
    private String picRealAddress;

    //歌曲总时间
    @TableField(value = "totalTime")
    private String totalTime;
    //歌曲类型，是否有歌词
    @TableField(value = "songType")
    private SongType songType;
    //是否删除
    @TableLogic(value= "0",delval= "1")
    @TableField(value = "isDelete")
    private Integer isDelete;
    //歌曲内容格式"audio/mpeg"
    @TableField(value = "contentType")
    private String contentType;
    //制作格式、制作技术
    private String format;
    //作词
    private String lyricist;
    //谱曲
    private String composer;
    //编曲
    private String arranger;
    //节奏
    private String tempo;
    //混音
    private String remixer;
    //专辑
    private String album;
    //版权
    private String copyright;
    //专辑艺人
    @TableField(value = "albumArtist")
    private String albumArtist;
    //专辑发行日期
    @TableField(value = "releaseDate")
    private String releaseDate;
    //专辑发行国家
    @TableField(value = "releaseCountry")
    private String releaseCountry;
}
